file(READ ${FSPLIT_INFILE} FSPLIT_FILE_STRING)
string(REGEX REPLACE ";" "\\\\;" FSPLIT_LIST "${FSPLIT_FILE_STRING}")
string(REGEX REPLACE "\n" ";" FSPLIT_LIST  "${FSPLIT_LIST}")
set(FORTRAN_FLAGS_STRING ${FORTRAN_FLAGS})
string(REGEX REPLACE " " ";" FORTRAN_FLAGS  "${FORTRAN_FLAGS}")
list(APPEND CMD ${FORTRAN_COMPILE_COMMAND})
list(APPEND CMD "-c")
list(APPEND CMD ${FORTRAN_FLAGS})
foreach(FFILE ${FSPLIT_LIST})
	get_filename_component(FILENAME_WE ${FFILE} NAME_WE)	
	if(${FFILE} IS_NEWER_THAN ${FILENAME_WE}.o )
		message("${FORTRAN_COMPILE_COMMAND} ${FORTRAN_FLAGS_STRING} -c ${FFILE}")
		execute_process(COMMAND ${CMD} ${FFILE})
	endif(${FFILE} IS_NEWER_THAN ${FILENAME_WE}.o )
endforeach(FFILE)
file(GLOB OBJ_FILES *.o)
